<template>
  <div class="mess">
        <ul>
            <li>消息编号{{$route.query.id}}</li>
            <li>消息标题{{$route.query.name}}</li>
        </ul>
  </div>
</template>

<script>
export default {
  mounted() {
    console.log(this.$route);
  }
}
</script>

<style>

</style>